import {createApp} from 'vue'
import App from './App.vue'
import router from './router'

import 'lib-flexible/flexible' // 引入 flexible
import Vant from 'vant'
import 'vant/lib/index.css'
// 注册全局方法
import {showToast} from '@/components/Toast/render';

const app = createApp(App)

app.config.globalProperties.$toast = showToast;

app.use(Vant)
app.use(router)
app.mount('#app')